/* Import moderního fontu s tlustou váhou */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap');

/* Obecný styl */
body {
    font-family: 'Montserrat', sans-serif; /* Změna písma pro celý web */
    font-weight: 700; /* Použití tlusté váhy písma */
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #333;
}

/* Hlavička */
header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 10%;
    background: linear-gradient(135deg, #ff9100, #000000);  /* Oranžovo-žlutý gradient */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.logo h1 {
    margin: 0;
    font-size: 36px;
    font-weight: 700; /* Tlustá váha pro logo */
    color: white;
    letter-spacing: 2px;
    padding-right: 60px;
}

/* Navigace */
nav {
    display: flex;
    justify-content: flex-start; /* Zarovnáme na začátek */
    align-items: center;
    gap: 15px;  /* Zmenšíme mezery mezi odkazy */
    flex-wrap: wrap; /* Umožníme zalamování, pokud bude potřeba */
    padding: 0;
}

nav ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    gap: 10px;  /* Zmenšíme mezery mezi odkazy */
    flex-wrap: wrap;  /* Umožníme zalamování, pokud se odkazy nevejdou */
}

nav ul li {
    display: inline-block;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 15px;  /* Zmenšíme velikost písma */
    padding: 8px 8px; /* Zmenšíme padding */
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    vertical-align: middle; /* Zarovnáme text na střed */
}

nav ul li a:hover {
    color: #00b7ff;
    transform: scale(1.05); /* Efekt zvětšení na hover */
}

/* Tlačítko "Sign Up" */
nav ul li.signup a {
    background-color: #ff9100 !important;
    color: #ffffff;
    padding: 8px 14px; /* Zmenšíme padding pro tlačítko */
    font-size: 13px;  /* Zmenšíme velikost písma pro tlačítko */
    font-weight: 700;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s ease-in-out, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

nav ul li.signup a:hover {
    background-color: #e68100 !important;
    transform: translateY(-2px);
}

/* Hlavní obsah */
main {
    padding: 60px 10%;
    text-align: center;
}

h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
    font-weight: 700; /* Tlustá váha pro nadpisy */
}


/* Grid pro produkty */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 40px;
    max-width: 100%;
    margin: auto;
}

/* Produkty */
.product {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.158);
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
    display: block;
    
}

.product:hover {
    transform: scale(0.95);
    box-shadow: 0 8px 18px #ff91009a;
}

.product img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.product:hover img {
    transform: scale(1.1);
}

.product h3 {
    font-size: 20px;
    margin: 15px 0 10px;
    color: #333;
    font-weight: 700; /* Tlustá váha pro názvy produktů */
}

.price {
    font-size: 18px;
    font-weight: 700; /* Tlustá váha pro ceny */
    color: #ff9100;
}

/* Odkazy v produktech */
.product a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Tlačítko "Sign Up" */
nav ul li.signup a {
    background-color: #ff7e5f;
    color: #fff;
    padding: 10px 20px;
    font-weight: 700; /* Tlustá váha pro tlačítko "Sign Up" */
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: background 0.3s ease-in-out, transform 0.3s ease;
}

nav ul li.signup a:hover {
    background-color: #feb47b;
    transform: translateY(-2px);
}

/* Tlačítko sign up bez vycentrování */
nav ul li.signup {
    margin-left: 30px;
}
 
/* hlavní-navigace -------------------------------------------*/

h4  {
    float: right;
    margin: 14px 28px 0px 0px;
    border: 2px solid #ff9100;
    border-radius: 10px;
    padding: 5px 34px 5px 34px;
    font-size: 18px;
    color: white;
    background: rgba(0, 0, 0, 0.7);
}

.navigace a {
     text-decoration: none;
     color: white;
     padding: 0px 0px 0px 0px;
     font-size: 18px;
     transition: color 0.4s ease;
}

.navigace a:hover {
     text-decoration: none;
     color: #2DA6D2;
     transition: color 10.0s;
     transition: color 0.4s ease;
}

.navigace {
    height: 60px;
    width: 100%;
    background: transparent;
    position: fixed;
}

.Discord {
    margin: 14px 165px 0px 0px;
    position: relative;
}

.nex-name-bar {
    display: inline-block;
    font-size: 40px;
    margin: 5px 0px 0px 165px;
}

/* main home................................................................*/
.container {
     width: 600px;
     height: 1078px;
     margin: 1px auto;
     border: 2px solid transparent;
}

.home-main {
     padding: 32px;
     background: linear-gradient(rgba(255, 255, 255, 1.0),rgba(255, 145, 0, 1.0));
}

/* main home-profilovka------------------------------------------------- */

.profilovka {
     padding: 0;
     height: 160px;
     margin-top: 54px;
     border: 2px solid white;
     border-radius: 50%;
     box-shadow:  13px 14px 31px #4d4d4d;
}

/* main-home-nameˇicons-------------------------------- */

.nex-name {
    font-size: 50px;
    margin-top: 8px;
    margin-bottom: 0px;
}

.nex-name h1 {
    font-size: 50px;
    margin-top: 8px;
    margin-bottom: 0px;
}

.nex-name:after {
    content: "";
    display: block;
    width: 120px;
    border-bottom: 4px solid black;
    margin: 0px auto;
    box-shadow: 3px 3px 10px black;
}

.nex {
    color: #ff9100;
    stroke: 2px black;
}

.hauls {
    color: black;
}

.social-icons {
    border: 2px solid transparent;
    margin-top: 12px;
    padding: 0px;
    

}

.icons {
    height: 32px;
    margin: 0px 4px 0px 4px;
    transition: 0.3s ease;
}

.icons:hover{
    height: 32px;
    margin: 0px 4px 0px 4px;
    filter: brightness(70%);
    transition: 0.3s ease;
}

/* video................................................................*/

iframe {
   border-radius: 30px;
   margin-top: 12px;
}

/* beacons-links................................................................*/

.beacons-links {
    width: 542px;
    height: 400px;
    border: 2px solid transparent;
    margin: 0 auto;
    margin-top: 5px;
    text-align: center;
    vertical-align: middle;
}

.beacons-links div {
    width: 480px;
    height: 100px;
    border: 3px solid black;
    border-radius: 20px;
    margin: 0 auto;
    margin-top: 15px;
    vertical-align: middle;
    text-align: center;
    box-shadow: 0px 13px 31px black;

}

.beacons-links div img {
    border-radius: 18px;
    transition: 0.3s ease;
    height: 100px;
    width: 480px;

}

.beacons-links div img:hover{
    border-radius: 18px;
    filter: brightness(80%);
    transition: 0.3s ease;
}

.NEX-back {
    margin: 0;
    font-size: 36px;
    font-weight: 700; /* Tlustá váha pro logo */
    color: white;
    letter-spacing: 2px;
    padding-right: 60px;
    text-decoration: none;
}

.footer {
    text-align: center;
    color: white;
}

.kon1 {
    color: white;
}




























/* RESPONSIVITA PRO MOBILY */
@media (max-width: 768px) {
    header { 
        flex-direction: column;
        padding: 20px 5%;
        text-align: center;
    }

    .NEX-back {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .logo h1 { 
        padding-right: 0;
        margin-bottom: 10px;
        font-size: 28px;
    }

    nav {
        justify-content: center;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1px;
    }

    nav ul li.signup {
        margin-left: 0;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center; /* zarovná boxy na střed */
        padding: 0px;
        gap: 45px;
      }

    h2 {
        font-size: 28px;
    }

    .product {
        min-width: 100%;
        padding: 15px;
      }

    .product img {
        max-height: 200px;
    }

    .footer {
        height: auto;
        padding: 20px 10px;
        margin-top: -100px;
    }

    .kon1 {
        font-size: 22px;
        height: auto;
        margin: 10px 0;
    }

    .kon2 {
        font-size: 16px;
    }
}

/* Mobile dropdown hidden by default */
.mobile-nav {
    display: none;
}

/* Stylování dropdownu a sign-up tlačítka pro mobil */
@media (max-width: 768px) {
    nav ul {
        display: none; /* Skryj původní menu */
    }

    .mobile-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 10px;
    }

    .mobile-nav select {
        padding: 10px;
        font-size: 16px;
        border-radius: 8px;
        border: none;
        background-color: #fff;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        width: 90%;
        max-width: 400px;
    }

    .mobile-signup {
        background-color: #ff9100;
        color: #fff;
        margin-top: 15px;
        padding: 10px 20px;
        font-weight: 700;
        border-radius: 25px;
        text-transform: uppercase;
        letter-spacing: 2px;
        text-decoration: none;
        transition: background 0.3s ease-in-out, transform 0.3s ease;
    }

    .mobile-signup:hover {
        background-color: #e68100;
        transform: translateY(-2px);
    }
}

@media (max-width: 768px) {
    .logo h1 {
        font-size: 38px; /* zvětši podle potřeby – např. 38px, 42px… */
    }
}



















/* ======= MOBILNÍ RESPONSIVITA PRO HOMEPAGE ======= */
@media (max-width: 768px) {
    /* Navigace */
    .navigace {
        height: auto;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.85);
        padding: 10px 0;
        position: relative;
    }

    .nex-name-bar {
        font-size: 28px;
        margin: 0;
    }

    h4 {
        float: none;
        margin: 6px 0;
        font-size: 16px;
        padding: 6px 20px;
        width: 90%;
        text-align: center;
    }

    /* Container */
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
        height: auto;
    }

    .home-main {
        padding: 20px 10px;
    }

    /* Profilovka */
    .profilovka {
        height: 120px;
        margin-top: 80px;
    }

    /* Jméno */
    .nex-name {
        font-size: 36px;
    }

    /* Video */
    iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    /* Ikony */
    .social-icons {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 12px;
    }

    .icons {
        height: 28px;
    }

    /* Beacons odkazy */
    .beacons-links {
        width: 100%;
        max-width: 100%;
    }

    .beacons-links div {
        width: 90%;
        height: auto;
        margin-top: 12px;
    }

    .beacons-links div img {
        width: 100%;
        height: auto;
    }

    /* Footer */
    footer {
        text-align: center !important;
        padding: 20px 10px;
    }

    .kon1 {
        font-size: 18px;
    }

    .kon2 {
        font-size: 14px;
        line-height: 1.4em;
    }
}





/* ======= HAMBURGER MENU: MOBILNÍ STYL ======= */
.menu-icon {
    font-size: 24px;
    cursor: pointer;
    color: white;
    margin: 0 auto;
    display: none;
    padding: 8px;
    background-color: #ff9100;
    border-radius: 8px;
}

#menu-toggle {
    display: none;
    position: absolute;
    opacity: 0;
    pointer-events: none;
    height: 0;
    width: 0;
}

/* Skrytý mobilní menu box */
.mobile-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    background-color: rgba(255, 145, 0, 0.9);
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 700;
    width: 90%;
    text-align: center;
    transition: background 0.3s ease;
}

.mobile-menu a:hover {
    background-color: #e68100;
}

/* === MEDIA QUERY PRO MOBILY === */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    .navigace {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
        text-align: center;
        padding-bottom: 10px;
        background-color: #070707bb;
    }

    .home-main {
        margin-top: 20px;
    }

    #menu-toggle:checked ~ .menu-icon + .menu-links .mobile-menu {
        display: flex;
    }
}













/* ==== OPRAVA STYLU PRO DESKTOP NAVIGACI ==== */
@media (min-width: 769px) {
    .navigace {
        height: 60px;
        padding: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        width: 100%;
        background: transparent;
    }

    .menu-icon,
    #menu-toggle,
    .mobile-menu {
        display: none !important;
    }

    .menu-links {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        margin-right: 40px;
    }

    .nav-link {
        margin: 0 10px;
        padding: 6px 24px;
        font-size: 18px;
        background: rgba(0, 0, 0, 0.7);
        border-radius: 10px;
        border: 2px solid #ff9100;
        color: white;
    }

    .nex-name-bar {
        font-size: 40px;
        margin-left: 165px;
        margin-top: 0;
    }
}






/* === Styl a animace pro mobilní menu === */
.mobile-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-top: 10px;
}

#menu-toggle:checked ~ .menu-icon + .menu-links .mobile-menu {
    display: flex;
}

/* Odkazy v menu - výchozí stav (skryté a posunuté nahoru) */
.mobile-menu a {
    opacity: 0;
    transform: translateY(-10px);
    animation: slideIn 0.4s ease forwards;
}

/* Postupné zpoždění pro každou položku */
#menu-toggle:checked ~ .menu-icon + .menu-links .mobile-menu a:nth-child(1) {
    animation-delay: 0.1s;
}
#menu-toggle:checked ~ .menu-icon + .menu-links .mobile-menu a:nth-child(2) {
    animation-delay: 0.2s;
}
#menu-toggle:checked ~ .menu-icon + .menu-links .mobile-menu a:nth-child(3) {
    animation-delay: 0.3s;
}
#menu-toggle:checked ~ .menu-icon + .menu-links .mobile-menu a:nth-child(4) {
    animation-delay: 0.4s;
}
#menu-toggle:checked ~ .menu-icon + .menu-links .mobile-menu a:nth-child(5) {
    animation-delay: 0.5s;
}

/* Definice samotné animace */
@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}






/* Footer na homepage: bílý text */
.home-page .footer {
    color: white;
}

/* Footer na index.html (spreadsheet): oranžový text */
.spreadsheet-page .footer {
    color: orange;
}